<div class="title">
  <h1><%=h @unit.name %></h1>
</div>

<div class="content">
  <table>
    <tr>
      <td class="description">Angriff</td>
      <td class="def" id="right"><%=n @unit.angriff %></td>
    </tr>
    <tr>
      <td class="description">Verteidigung:</td>
      <td class="def" id="right"><%=n @unit.verteidigung %></td>
    </tr>
    <tr>
      <td class="description">Leben</td>
      <td class="def" id="right"><%=n @unit.leben %></td>
    </tr>
    <tr>
      <td class="description">Geschwindigkeit</td>
      <td class="def" id="right"><%=n @unit.geschwindigkeit %></td>
    </tr>
    <tr>
      <td class="description">Punkte</td>
      <td class="def" id="right"><%=n @unit.punkte %></td>
    </tr>
    <tr>
      <td class="description">Essenzen</td>
      <td class="def" id="right"><%=n @unit.essenzen %></td>
    </tr>
    <tr>
      <td class="description">Kristalle</td>
      <td class="def" id="right"><%=n @unit.kristalle %></td>
    </tr>
    <tr>
      <td class="description">Kraftsteine</td>
      <td class="def" id="right"><%=n @unit.kraftsteine %></td>
    </tr>
    <tr>
      <td class="description">Goldharz</td>
      <td class="def" id="right"><%=n @unit.goldharz %></td>
    </tr>
    <tr>
      <td class="description">Wächtereinheit</td>
      <td class="def" id="right">
        <% if @unit.waechtereinheit %>
          Ja
        <% else %>
          Nein
        <% end %>
      </td>
    </tr>
  </table>
</div>

<% content_for :navigation do %>
  <li>
    <%= link_to 'Edit', edit_unit_path(@unit) %>
  </li>
<% end %>